<template>
	<!-- 子表信息 -->
	<view class="listsmall">
		<slot></slot>
		<u-empty 
			v-if="!resultObj" 
			mode="data"
			icon="/static/empty/data.png"
		></u-empty>
		<view class="action" v-for="(item,key) in childFields" :key="item" v-else>
			<view class="list1">{{ key }}</view>
			<view class="list2">{{ resultObj[item] }}</view>
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				
			}
		},
		props: {
			childFields: {
				type: Object,
				default: () => {}
			},
			resultObj: {
				type: [Object,Boolean],
				default: () => {}
			},
		},
		methods: {}
	}
</script>
<style lang="scss" scoped>
@import "../common/action.scss";
</style>